package com.googlecode.gwtbb.client.only.remote.user;

import com.google.gwt.user.client.rpc.RemoteService;
import com.googlecode.gwtbb.client.shared.entity.user.User;
import com.googlecode.gwtbb.client.shared.remote.user.LoginResponse;
import com.googlecode.gwtbb.client.shared.remote.user.LoginUserBean;
import com.googlecode.gwtbb.client.shared.remote.user.RegisterResponse;
import com.googlecode.gwtbb.client.shared.remote.user.RegisterUserBean;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Jun 25, 2008
 */
public interface UserService extends RemoteService {
	User get(Long id);

	LoginResponse login(LoginUserBean loginUserBean);

	RegisterResponse register(RegisterUserBean registerUserBean);
}
